<!DOCTYPE html>
<html lang="{{site.locale}}"{{#if site.rtl}} dir="rtl"{{/if}}>
{{> html-head }}

<body>
  {{> header }}

  <div id="main">
    <div class="container">
      {{#if title}}
        <h2>{{ title }}</h2>
      {{/if}}

      <ul class="blog-index">
        {{#each collections.blog}}
          {{#unless listing}}
            {{#startswith path (slashes ../path)}}
              {{#if title}}
                <li>
                  <time datetime="{{ strftime date '%FT%T%z' }}">{{ strftime date "%d %b %y" }}</time>
                  <a href="/{{../site.locale}}/{{ slashes path }}/">{{ title }}</a>
                </li>
              {{/if}}
            {{/startswith}}
          {{/unless}}
        {{/each}}
      </ul>

    </div>
  </div>

  {{> footer }}
</body>
</html>
